home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games 1996 July
/
Amiga Games 1996 #7.iso
/
userbox
/
publicdomain
/
expname
/
expname.doc
< prev
next >
Wrap
Text File
|
1996-04-14
|
4KB
|
125 lines
TABLE OF CONTENTS
expname.library/GetSysInfo
expname.library/GetExpName
expname.library/GetSysInfo expname.library/GetSysInfo
NAME
GetSysInfo - get information about the system (V2)
SYNOPSIS
Buffer = GetSysInfo(Buffer,Type,Reserved)
D0.l A0.l D0.l D1.l
STRPTR GetSysInfo(STRPTR,ULONG,ULONG);
FUNCTION
Gets information about the current system environment. This function
is fully DraCo compatible!
INPUTS
Buffer -- String to be filled with the information string. Must
be at least 50 chars long (including termination).
Type -- Information type. These types are known in V2:
EXPTYPE_SYSTEM -- What system is used?
("Amiga","DraCo")
EXPTYPE_CPU -- What kind of CPU is available?
(68000,68010,68020,...68060)
EXPTYPE_FPU -- What kind of FPU is available?
(---,68881,68882,68040,68060)
EXPTYPE_MMU -- What kind of MMU is available?
(---,68852,68030,68040,68060)
EXPTYPE_OSVER -- What OS version is used?
(e.g. "V39.106")
EXPTYPE_EXECVER -- What exec version is used?
(e.g. "V39.47")
EXPTYPE_WBVER -- What WorkBench version is used?
(e.g. "V39.29", "---" if not available)
EXPTYPE_ROMSIZE -- Size of AmigaOS ROM
(e.g. "512KB")
EXPTYPE_CHIPSET -- What Chipset is available?
(e.g. "ECS","AGA","DraCo")
EXPTYPE_GFXSYS -- What Graphic Board System is used?
(e.g. "CyberGraphX")
EXPTYPE_CHIPRAM -- Size of complete Chip RAM
(e.g. "~2MB")
EXPTYPE_FASTRAM -- Size of complete Fast RAM
(e.g. "12MB")
EXPTYPE_RAM -- Size of complete System RAM
(e.g. "~14MB")
Reserved -- Reserved for future use, always provide 0 here!
RESULT
Buffer -- Pointer to the provided buffer if everything
went fine, NULL otherwise.
NOTE
This call is guaranteed to preserve all registers except D0.
BUGS
SEE ALSO
expname.library/GetExpName expname.library/GetExpName
NAME
GetExpName - get name of expansion board
SYNOPSIS
Success = GetExpName(ManufName,ProdName,ConfigDev,Manufacturer,Product)
D0.l A0.l A1.l A2.l D0.w D1.b
ULONG GetExpName(STRPTR,STRPTR,struct ConfigDev*,UWORD,UBYTE);
FUNCTION
Gets the name of the expansion and it's manufacturer.
INPUTS
ManufName -- String to be filled with the manufacturer name. Must
be at least 50 chars long.
ProdName -- String to be filled with the product name. Must be
at least 50 chars long.
ConfigDev -- Pointer to ConfigDev structure (from expansion.library)
or NULL.
Manufacturer -- ID of the board's manufacturer, if ConfigDev is NULL.
Product -- ID of the board's product number (depends on manufactu-
rer), if ConfigDev is NULL.
RESULT
Success -- True if both manufacturer and product are known. False
if one of them was not known.
NOTE
If the manufacturer or the product is not known, the string will be
filled with its number. I.e. it is NOT a real fault if this function
fails; the strings can be used in any case...
If you provide a ConfigDev structure, expname.library may in some
cases find out the name of a board even if it is not implemented.
This call is guaranteed to preserve all registers except D0.
BUGS
There are by far not all existing boards implemented. Please send
the manufacturer id and name and the products id and name of all
unknown boards to me. My E-Mail: "rkoerber@tfh.dssd.sub.org".
SEE ALSO